package com.nativetalk.bean.member;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * TdNtMember entity. @author MyEclipse Persistence Tools
 */

public class TdNtMemberPsd implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields
	@NotNull(message = "{PASSWORD.REGEXP}")
	@Pattern(regexp = "^[0-9a-zA-Z]{6,20}$", message = "{PASSWORD.REGEXP}")
	private String memb_password;
	@NotNull(message = "{PASSWORD.REGEXP}")
	@Pattern(regexp = "^[0-9a-zA-Z]{6,20}$", message = "{PASSWORD.REGEXP}")
	private String old_memb_password;

	public void setMemb_password(String memb_password) {
		this.memb_password = memb_password;
	}

	public void setOld_memb_password(String old_memb_password) {
		this.old_memb_password = old_memb_password;
	}

	public String getMemb_password() {
		return memb_password;
	}

	public String getOld_memb_password() {
		return old_memb_password;
	}
}